package com.zj.study.consul.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author junzhou
 * @date 2022/2/18 19:12
 * @description:TODO
 * @since 1.8
 */
@SpringBootApplication
@EnableDiscoveryClient //该注解用于向使用consul或者zookeeper作为注册中心时注册服务
public class OrderConsul80Main {
    public static void main(String[] args) {
        SpringApplication.run(OrderConsul80Main.class, args);
    }
}
